﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpReInList.aspx.cs" Inherits="UI.ModEmployee.EmpReInList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>返聘复职列表</title>
     <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
    <script type="text/javascript" src="../JS/jsFunction.js"></script>
    <script src="../JS/calendar.js" type="text/javascript"></script>
   
  
</head>
<body>
    <form id="form1" runat="server">
      <div id="pagetop" class="pagetop">
            <div class="pagetopleft">
               返聘复职列表</div>
            <div class="pagetopright">
                工号<asp:TextBox ID="txtSerWord" runat="server" CssClass="InputCss" Width="75px"></asp:TextBox>
                <asp:DropDownList ID="ddlReInTypeName" runat="server">
                    <asp:ListItem Selected="True">返聘</asp:ListItem>
                    <asp:ListItem>复职</asp:ListItem>
                </asp:DropDownList>
                日期<asp:TextBox ID="txtBtime" runat="server" CssClass="InputCss" Width="75px"  maxlength="10" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" ></asp:TextBox>
                至<asp:TextBox ID="txtEtime" runat="server" CssClass="InputCss" Width="75px"  maxlength="10" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" ></asp:TextBox>
               
                   <asp:DropDownList ID="ddlDeptID" runat="server" CssClass="InputCss">
            </asp:DropDownList>
                <asp:Button ID="btnEmSearch" runat="server" Text="查询" OnClick="btnEmSearch_Click"
                    CssClass="ButtonCss" />
                    <asp:Button ID="btnAdd" runat="server" Text="增加" CssClass="ButtonCss"  />
        

                &nbsp;
            </div>
        </div>

    <div id="content">
        <asp:GridView ID="gvList" runat="server" DataKeyNames="ReInID" Width="1050px" AutoGenerateColumns="False"
            BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px"
            CellPadding="3" GridLines="Horizontal" OnRowDataBound="gvList_RowDataBound" class="td">
            <Columns>
                <asp:BoundField DataField="ReInID" HeaderText="ReInID" SortExpression="ReInID">
                </asp:BoundField>
                <asp:TemplateField HeaderText="员工工号" SortExpression="EmpCode" ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                        <asp:HyperLink ID="hlEmpCode" runat="server"  Text='<%# Eval("EmpCode") %>' ></asp:HyperLink>
                    </ItemTemplate>
                    <ItemStyle Width="80px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="员工姓名" SortExpression="EmpName" ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                              <asp:HyperLink ID="hlEmpName" runat="server"  Text='<%# Eval("EmpName") %>' ></asp:HyperLink>
                    </ItemTemplate>
                    <ItemStyle Width="80px" />
                </asp:TemplateField>
                <asp:BoundField DataField="StateName" HeaderText="入职状态" SortExpression="StateName">
                    <ItemStyle Width="70px" />
                </asp:BoundField>
                <asp:BoundField DataField="OldDeptName" HeaderText="原部门" SortExpression="OldDeptName">
                    <ItemStyle Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="OldDutyName" HeaderText="原职务" SortExpression="OldDutyName">
                    <ItemStyle Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="NewDeptName" HeaderText="新部门" SortExpression="NewDeptName">
                    <ItemStyle Width="80px" />
                </asp:BoundField>
                <asp:BoundField DataField="NewDutyName" HeaderText="新职务" SortExpression="NewDutyName">
                    <ItemStyle Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="ReInTypeName" HeaderText="类别" SortExpression="ReInTypeName">
                    <ItemStyle Width="80px" />
                </asp:BoundField>
                 <asp:BoundField DataField="TestTimeLong" HeaderText="试用时长" SortExpression="TestTimeLong">
                    <ItemStyle Width="80px" />
                </asp:BoundField>
                <asp:BoundField DataField="ReInTime" HeaderText="入职时间" DataFormatString="{0:d}"
                    SortExpression="ReInTime">
                    <ItemStyle Width="80px" />
                </asp:BoundField>
                <asp:BoundField DataField="Memo" HeaderText="备注" SortExpression="Memo"></asp:BoundField>
            </Columns>
            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
            <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
            <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
            <AlternatingRowStyle BackColor="#F7F7F7" />
        </asp:GridView>
         <div id="divAmount" class="amountLine">
        <asp:Label ID="lbAmount" runat="server"></asp:Label>
    </div>
    </div>
    </form>
</body>
</html>
